package cn.tedu.innerclass;
/*测试成员内部被static修饰*/
public class TestInner3 {
    public static void main(String[] args) {
        /*Outer3.Inner3 oi3=new Outer3().new Inner3();
        oi3.show();
        new Outer3().new Inner3().show();*/
        Outer3.Inner3 oi=new Outer3.Inner3();
        oi.show();
        oi.show2();
        Outer3.Inner3.show2();
    }
}
class Outer3{

    static class Inner3{
        public void show(){
            System.out.println("内部类...show");
        }
        public static void show2(){
            System.out.println("我是静态内部类的静态方法");
        }
    }
}